// 聊天模块路由
export default [
  {
    path: '/',
    name: 'Chat',
    component: () => import('@/ChatRoomPage/chatRoom.vue'),
    meta: {
      title: '聊天室',
      requiresAuth: true  // 需要登录权限
    }
  },
  {
    path: '/chat',
    name: 'ChatRoom',
    component: () => import('@/ChatRoomPage/chatRoom.vue'),
    meta: {
      title: '聊天室',
      requiresAuth: true  // 需要登录权限
    }
  },
  {
    path: '/messageSearch',
    name: 'MessageSearch',
    component: () => import('@/ChatRoomPage/messageSearch.vue'),
    meta: {
      title: '消息搜索',
      requiresAuth: true  // 需要登录权限
    }
  }
]